<?php
	defined('_JEXEC') or die('Restricted access');
	require_once(CUTEENGINE_BASE_FIELD_PATH."base_field_class.php");
    
	//
    // t_field_label
    //
	class t_field_label extends t_base_field
	{
        
        // property declaration
		// protected

        // property declaration
		// public
		// G
		const language_position_last = 1;
		
		// P
        const proper_properties_position_per_label_value = 1;
        const proper_properties_position_last = 2;
        // method declaration
    	// protected

		
        // G
		protected function get_field_event_script($a_event_type,$a_argouments)
        {			
			$local_return = '';
			return $local_return;
		}
static function get_help_proper_property($a_index)
		{
			$local_return = 'NO HELP AVAILABLE';
			/*switch ($a_index) 
            {
                case self::proper_properties_position_:
					$local_return = '';
				break;                
			}*/
			return $local_return;
		}
        static function get_default_proper_property($a_index)
		{
			$local_return = '';
			/*switch ($a_index) 
            {
                case self::proper_properties_position_:
					$local_return = 'TRUE';
				break;                
			}*/
			return $local_return;
		}
		protected function get_proper_properties_position_last()      
		{
            return self::proper_properties_position_last;
        }
		
        // method declaration
    	// public
        public function __construct($a_parent_part,$a_common_properties_str, $a_proper_properties_str)
		{
            parent::__construct($a_parent_part,$a_common_properties_str, $a_proper_properties_str);
            
			
		}

		// C
		public function create_javascript_initialization_component()
		{
		
		}		
        public function create_tags_structure()
        {
            //echo __METHOD__."<BR>";
            parent::create_tags_structure();
            $local_name = $this->common_properties_array[t_base_field::common_properties_position_per_field_name];
            $local_current_tag = parent::add_tag(t_base_tag_type::btt_label,
                $local_name);
			$this->main_tag = $local_current_tag;
            $this->main_tag->set_text_to_include(
                $this->proper_properties_array[self::proper_properties_position_per_label_value]);
            $this->default_start_tag = $this->main_tag;
            $this->default_result_tag = $this->main_tag;
            
            
        }
        // G
		public function get_language_position_last()
        {
            return self::language_position_last;
        }
		public function get_result_action_script($a_event_type,$parent_event_type,
            $a_parameter,$a_content_loader_result)
		{
            return '';
        }		
		
// I
		public function initialize_field_event($a_event_type)
        {			
			
		}
        
       

		

    }
?>    